Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Four-Dimensional Rational Points

typedef struct RationalPoint4D {
    Float32                         x;
    Float32                         y;
    Float32                         z;
    Float32                         w;
} RationalPoint4D;
typedef struct DRationalPoint4D {
    Float64                         x;
    Float64                         y;
    Float64                         z;
    Float64                         w;
} DRationalPoint4D;

Three- and four-dimensional points are used to represent two- and three-dimensional points respectively in homogeneous coordinate systems.


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |